ibz-terminal-tab {
  height: 100%;
  display: flex;
  fill: currentColor;
  --active-bk-color: rgba(255, 255, 255, 0.3);

  .ibz-terminal-tab-content {
    height: 100%;
    flex-grow: 1;
  }

  .ibz-terminal-tab {
    flex-shrink: 0;
    width: 100%;
  }

  .ibz-terminal-tab-exp-item {
    cursor: pointer;
    padding-left: 6px;
    padding-right: 6px;
    text-align: left;
    line-height: 22px;
    height: 22px;
    font-size: 12px;
    display: flex;
    align-items: center;

    .not-read-num {
      color: #ed4014;
    }

    .label-container {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      max-width: 100%;
      flex-grow: 1;
    }

    .exp-item-actions {
      display: none;
      flex-shrink: 0;
      justify-content: flex-end;
    }

    .action-item {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 18px;
      width: 18px;
      border-radius: 3px;

      svg {
        margin-top: -3px;
      }
    }

    .action-item:hover {
      background-color: rgba(255, 255, 255, 0.12);
    }
  }

  .ibz-terminal-tab-exp-item:hover {
    background-color: var(--active-bk-color);

    .exp-item-actions {
      display: flex;
    }
  }

  .ibz-terminal-tab-exp-item.lock-tab:hover {
    background-color: transparent !important;
  }

  .ibz-terminal-tab-exp-item.active-tab {
    background-color: var(--active-bk-color);
  }
}
